﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SalesApp
{
    public partial class MainWindow : Form
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void ventaToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void clientesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClienteForm clienteForm = new ClienteForm();
            clienteForm.MdiParent = this;
            clienteForm.Show();
        }

        private void nuevaVentaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            VentaForm ventaForm = new VentaForm();
            ventaForm.MdiParent = this;
            ventaForm.Show();
        }

        private void MainWindow_Load(object sender, EventArgs e)
        {

        }

        private void empledosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EmployeeForm empleadoForm = new EmployeeForm();
            empleadoForm.MdiParent = this;
            empleadoForm.Show();
        }

        private void productosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ProductoForm productoForm = new ProductoForm();
            productoForm.MdiParent = this;
            productoForm.Show();
        }

        private void nuevoClienteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClienteForm clienteForm = new ClienteForm();
            clienteForm.MdiParent = this;
            clienteForm.Show();
        }
    }
}
